<?php
namespace Operation\Model;

class Drawercount
{
    public $idDrawerCount;
    public $originalDrawerCountId;
    public $idStore;
    public $date;
    public $tillId;
    public $tillCode;
    public $openingDateTime;
    public $closingDateTime;
    public $salesCount;
    public $realCount;
    public $difference;
    
    public function exchangeArray($data)
    {
        $this->idDrawerCount = (isset($data['idDrawerCount'])) ? $data['idDrawerCount'] : null;
        $this->originalDrawerCountId = (isset($data['originalDrawerCountId'])) ? $data['originalDrawerCountId'] : null;
        $this->idStore = (isset($data['idStore'])) ? $data['idStore'] : null;
        $this->date = (isset($data['date'])) ? $data['date'] : null;
        $this->tillId = (isset($data['tillId'])) ? $data['tillId'] : null;
        $this->tillCode = (isset($data['tillCode'])) ? $data['tillCode'] : null;
        $this->openingDateTime = (isset($data['openingDateTime'])) ? $data['openingDateTime'] : null;
        $this->closingDateTime = (isset($data['closingDateTime'])) ? $data['closingDateTime'] : null;
        $this->salesCount = (isset($data['salesCount'])) ? $data['salesCount'] : null;
        $this->realCount = (isset($data['realCount'])) ? $data['realCount'] : null;
        $this->difference = (isset($data['difference'])) ? $data['difference'] : null;
    }
}